package com.inspur.jzsxxzx.service.sjzd.impl;

import com.inspur.jzsxxzx.entity.sjzd.CreateSystem;
import com.inspur.jzsxxzx.mapper.sjzd.CreateSystemMapper;
import com.inspur.jzsxxzx.service.sjzd.CreateSystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 应用系统注册服务实现类
 */
@Service
public class CreateSystemServiceImpl implements CreateSystemService {
    
    @Autowired
    private CreateSystemMapper createSystemMapper;
    
    @Override
    public int insert(CreateSystem createSystem) {
        return createSystemMapper.insert(createSystem);
    }
    
    @Override
    public int updateById(CreateSystem createSystem) {
        return createSystemMapper.updateById(createSystem);
    }
    
    @Override
    public int deleteById(Integer id) {
        return createSystemMapper.deleteById(id);
    }
    
    @Override
    public CreateSystem selectById(Integer id) {
        return createSystemMapper.selectById(id);
    }
    
    @Override
    public List<CreateSystem> selectAll() {
        return createSystemMapper.selectAll();
    }
}